package com.xinchuang.mapper.targetSystem.damage;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.github.yulichang.base.MPJBaseMapper;
import java.util.List;

import com.xinchuang.entity.targetSystem.damage.TWarhead;
import com.xinchuang.entity.targetSystem.damage.TWarheadExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface TWarheadMapper extends MPJBaseMapper<TWarhead> {
    long countByExample(TWarheadExample example);

    int deleteByExample(TWarheadExample example);

    List<TWarhead> selectByExample(TWarheadExample example);

    int updateByExampleSelective(@Param("record") TWarhead record, @Param("example") TWarheadExample example);

    int updateByExample(@Param("record") TWarhead record, @Param("example") TWarheadExample example);

    int updateBatch(List<TWarhead> list);

    int updateBatchSelective(List<TWarhead> list);

    int batchInsert(@Param("list") List<TWarhead> list);

    int insertOrUpdate(TWarhead record);

    int insertOrUpdateSelective(TWarhead record);
}